import dayjs from 'dayjs';

export const formatDate = (date, type = 'YYYY-MM-DD HH:mm:ss') => dayjs(date).format(type);
